package realestate.item.client;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 27.05.11
 * Time: 17:17
 * To change this template use File | Settings | File Templates.
 */
public class FlatItemInfo extends ItemInfo {

    public static final String ITEM_TYPE = "Flat";
    private Flat content;

    public FlatItemInfo() {
        type =  ITEM_TYPE;
    }

    @Override
    public IITemInfoDisplay getItemDisplay() {
        return null;
    }

    @Override
    public ObjectOnMapShort createContent() {
        return new Flat();
    }

}
